import request from '@/utils/request'
//获取车辆信息列表
export function informationListApi() {
    return request({
        url: '/truckType/simple',
        method: 'GET'
    })
}
//获取车辆类型分页数据
export function informationlastApi(page, pageSize) {
    return request({
        url: '/truckType/page',
        method: 'GET',
        params: {
            page,
            pageSize
        }
    })
}
//新增车型
export function addinformationlastApi(data) {
    return request({
        url: '/truckType',
        method: 'post',
        data
    })
}